package com.retailshop.shopuser.mapper;

import com.retailshop.shopuser.entity.UserMessages;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMessagesMapper {
    int deleteByPrimaryKey(Integer userMessageId);

    int insert(UserMessages record);

    int insertSelective(UserMessages record);

    UserMessages selectByPrimaryKey(Integer userMessageId);

    int updateByPrimaryKeySelective(UserMessages record);

    int updateByPrimaryKeyWithBLOBs(UserMessages record);

    int updateByPrimaryKey(UserMessages record);


    List<UserMessages> getMessages(int userNoId);
}